import request from '@/utils/request'
//链接源
export function sysLinkSourceQuery(data) {
  //分页列表
  return request({
    method: 'get',
    url: '/sysLinkSource/query',
    params: data,
  })
}

export function sysLinkSourceQueryById(id) {
  //查询
  return request({
    method: 'get',
    url: '/sysLinkSource/query/' + id,
  })
}

export function sysLinkSourceAdd(data) {
  //添加
  return request({
    method: 'post',
    url: '/sysLinkSource/add',
    data,
  })
}

export function sysLinkSourceDelete(id) {
  //删除
  return request({
    method: 'get',
    url: '/sysLinkSource/delete/' + id,
  })
}

export function sysLinkSourceUpdate(data) {
  //修改
  return request({
    method: 'post',
    url: '/sysLinkSource/update',
    data,
  })
}

export function sysLinkSourceOpenApiQuery(data) {
  //分页列表
  return request({
    method: 'get',
    url: '/sysLinkSource/openApi/query',
    params: data,
  })
}
